/*
 * @Autor: dingxiaolin
 * @Date: 2021-01-05 14:03:08
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-11-09 18:51:07
 */
import Vue from 'vue';
import Vuex from 'vuex';
import app from './modules/app';

Vue.use(Vuex);

const store = new Vuex.Store({
    state: {
        blobUrl: '',
        ossBucket: '', //ali-oss
        RONGIM_AppKey:
            location.hostname.includes('test') || location.hostname.includes('192') || location.hostname.includes('localhost')
                ? '82hegw5uhqtcx'
                : 'e0x9wycfxzk6q',
        asyncRouterMap: [],
        isFirst: true
    },
    mutations: {},
    actions: {},
    modules: {
        app,
    }
});

export default store;
